package exception;

public class AppException extends Exception {

    private final String code;
    private final String msg;

    public AppException(String code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
